package com.efrei.uchat.tests;

import junit.framework.TestCase;

import org.junit.Before;
import org.junit.Test;

import com.efrei.uchat.model.user.Chatter;

public class ChatterTest extends TestCase {

	private static final String PSEUDO_TEST = "Toto";
	private Chatter chatterPseudo;

	@Before
	public void setUp() throws Exception {
		chatterPseudo = new Chatter(PSEUDO_TEST);
	}

	@Test
	public void testChatterString() {
		assertNotNull(chatterPseudo);
	}

	@Test
	public void testGetPseudo() {
		assertEquals(chatterPseudo.getPseudo(), PSEUDO_TEST);
	}

}
